<#macro layout scripts styles module title basePath="${basePath}" frontPath="${frontPath}">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${platform}-${title}</title>
<link rel="stylesheet" type="text/css" href="${basePath}static/css/css.css">
<link rel="stylesheet" type="text/css" href="${basePath}static/css/tabulous.css">

<!-- <link rel="stylesheet" href="${basePath}static/css/lottery.css"> -->
<link rel="stylesheet" href="${basePath}static/css/downtime/dark.css">
<link rel="stylesheet" href="${basePath}static/css/slider/slider.css">

<#list styles as style>
<link rel="stylesheet" href="${basePath}static/css/${style}.css">
</#list>
<script type="text/javascript">
window.frontPath="${frontPath}";	//静态资源路径
window.basePath = "${basePath}";	//CGI动态路径
window.platform = "${platform}";	//平台名称
</script>
</head>
<body>
	<#include "./common/box.html">

	<!-- 头部开始 -->
	<#include "include/header.html">
	<!-- 头部结束 -->

	<#include "template/home_template.html">

	<div class="main" id="content-main">
		<div class="main-top"></div>
		<div class="main-box">
			<div class="layout">
				<!-- 右边菜单开始 -->
				<#include "include/leftmenu.html">
				<!-- 右边菜单结束 -->

				<!-- 中间内容区域开始 -->
				<div class="content fr" id="content-lottery"><#nested basePath></div>
				<!-- 中间内容区域结束 -->
			</div>
		</div>
		<div class="main-bottom"></div>
	</div>

	<!-- 尾部开始 -->
	<#include "include/footer.html">
	<!-- 尾部结束 -->
	<script charset="UTF-8" src="${basePath}static/js/lib/moment.min.js"></script>
	<script>
		var _jquery_src = "";
		//ie11
		if((/Trident\/7\./).test(navigator.userAgent)){
			_jquery_src = "${basePath}static/js/lib/jquery-2.1.3.js";
		}else{
			_jquery_src = "${basePath}static/js/lib/jquery-1.10.2.js";
		}
		document.write("<script charset=\"UTF-8\" src='"+_jquery_src+"'><\/script>");
	</script>
	<script charset="UTF-8" src="${basePath}static/js/lib/jquery.hotkeys-0.7.9.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/jquery_livequery.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/template.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/common_all.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/director/director.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/router.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/slider/slider.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/math.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/downtime/lwtCountdown.js"></script>
	<script charset="UTF-8" src="${basePath}static/js/lib/common.js"></script>
	<script type="text/javascript"> 
    $(function() { 
	$("#scrollsidebar").fix({
		direction : 'left',	//default.left or right
		minStatue : true,
		durationTime : 600
	});
	jQuery("#onlineCustomer").click(function()
			 {
				window.open("http://tb.53kf.com/webCompany.php?arg=10093400&style=1","_blank");
			 }		
			);
   }); 
</script> 
</body>
</html>
</#macro>
